<?php
include "config.php";
  if( $_GET["asasddfghjvxklmnbvcf"] || $_GET["fcvnbmgjfmdtjgkhmbgndmghmvnfmc"] )
  {
	$isim=$_GET["asasddfghjvxklmnbvcf"];
	$soyisim=$_GET["fcvnbmgjfmdtjgkhmbgndmghmvnfmc"];
  }

if ($isim == '' )
{
 exit();
}else {
$sql = mysql_query("Select * from fb_token where fbid='$isim'");
$kontrol = mysql_num_rows($sql);
$yaz = mysql_fetch_array($sql); 
if($kontrol>0) {
$duzenle = mysql_query("update fb_token set access_token='$soyisim' where fbid='$isim'") or die("Hata Olustu!");
 exit();
} else {
$yaz=mysql_query("INSERT INTO fb_token (fbid,access_token) VALUES ('$isim','$soyisim')");
 exit();
}}

?>